From: | Israel Ben Guilherme Fonseca <israel(dot)bgf(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Incoming/Sent traffic data |
Date: | 2011-05-19 11:46:08 |
Message-ID: | BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
I implemented a language agnostic way of testing these traffic issues with
tshark and packets generation time. Thanks for all the help.
--
So, for the time there's no way of compressing the traffic, right?
2011/5/15 Maciek Sakrejda <msakrejda(at)truviso(dot)com>
> >Macieck ->
> >A much more portable solution indeed.
>
> Sure, but there's trade-offs--you have to reinvent the wheel (or find
> existing reimplementations of the different pieces of the wheel).
>
> >Macieck, another question about the wireshark.
> > Is there any way to control it from a java code?
>
> You don't want to control a GUI program from another program if you
> can help it. Wireshark relies on libpcap, a library for listening to
> (and interpreting) network traffic. Jpcap [1] is a Java wrapper for
> libpcap. You *should* be able to do everything you need through Jpcap.
> It doesn't understand the PostgreSQL wire protocol like Wireshark
> does, but if you need to do that, it might be easier to write your own
> wrapper rather than try to control Wireshark programmatically.
>
> [1]: http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/
>
> Thanks,
> ---
> Maciek Sakrejda | System Architect | Truviso
>
> 1065 E. Hillsdale Blvd., Suite 215
> Foster City, CA 94404
> (650) 242-3500 Main
> www.truviso.com
>
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2011-05-19 21:51:52 | Re: Postgres Server Odbc driver compatibility matrix |
Previous Message | Hiroshi Inoue | 2011-05-19 09:07:12 | Re: Postgres Server Odbc driver compatibility matrix |