pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Incoming/Sent traffic data
Date: Thu, 19 May 2011 08:46:08 -0300
Message-ID: <BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=6=_OYH0yM-YVEg4GNONZ3rMFumg@mail.gmail.com>
References: <BANLkTi=+KqU37L7VEL4KDDqYMpTr7c-=9w@mail.gmail.com>
	<BANLkTimgZ5Q-DTS1WMASgaPxYO3UWMSWLQ@mail.gmail.com>
	<BANLkTinCbh1UOd2BFy_EToKbZ9Otmug+bQ@mail.gmail.com>
	<BANLkTimsypLk7AhogY10vHQYBp=6wEGS9w@mail.gmail.com>
	<BANLkTindHFPiB6SMpFKyF2f981STAV84Uw@mail.gmail.com>
	<BANLkTikpjra+wagkWqTNOn=PBFLRLRMW0g@mail.gmail.com>
	<iqhoj2$vta$1@news.albasani.net>
	<BANLkTinvnKHQO0cfbbQE-qbZFkpvm-fDhQ@mail.gmail.com>
	<BANLkTikx7pVVY9O0OYwhh_PF7+cfgM5i=w@mail.gmail.com>
	<BANLkTi=LsZMhfKxbr6d7EHKFZO8dB5FJyw@mail.gmail.com>
	<BANLkTi=BFLrc+-fT5ggYM1E33wvobDr5zA@mail.gmail.com>
	<BANLkTinHkuGPEGWBQeM6VPgLGyTb7f74ZQ@mail.gmail.com>
	<BANLkTikshdELcV06nY+B2UihuoGpAS8RaQ@mail.gmail.com>
	<4DCD13A7020000250003D6C6@gw.wicourts.gov>
	<BANLkTimKMUOzxDhn7rr1nCCTSrUBBRa_sg@mail.gmail.com>
	<4DCD1BB4020000250003D6CD@gw.wicourts.gov>
	<BANLkTik0pEhDveN2tadj5M=G-Mhtgm7NFg@mail.gmail.com>
	<BANLkTikOKycEbv1+UEEsJJBTX7Zeuk+7SQ@mail.gmail.com>
	<BANLkTimr99QjLde6RTg0vfCZH=xZ2kxRAQ@mail.gmail.com>
	<BANLkTimpQx2pTk4bJ-KDK9RPr-fSQcMXMg@mail.gmail.com>
	<BANLkTi=6=_OYH0yM-YVEg4GNONZ3rMFumg@mail.gmail.com>

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@truviso.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
>

view thread (26+ messages)

Message-ID: <BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com>
Permalink:  ../BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: israel.bgf@gmail.com
  Subject: Re: Incoming/Sent traffic data
  In-Reply-To: <BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com>
  References: <BANLkTi=+KqU37L7VEL4KDDqYMpTr7c-=9w@mail.gmail.com> <BANLkTindHFPiB6SMpFKyF2f981STAV84Uw@mail.gmail.com> <BANLkTikpjra+wagkWqTNOn=PBFLRLRMW0g@mail.gmail.com> <iqhoj2$vta$1@news.albasani.net> <BANLkTinvnKHQO0cfbbQE-qbZFkpvm-fDhQ@mail.gmail.com> <BANLkTikx7pVVY9O0OYwhh_PF7+cfgM5i=w@mail.gmail.com> <BANLkTi=LsZMhfKxbr6d7EHKFZO8dB5FJyw@mail.gmail.com> <BANLkTi=BFLrc+-fT5ggYM1E33wvobDr5zA@mail.gmail.com> <BANLkTinHkuGPEGWBQeM6VPgLGyTb7f74ZQ@mail.gmail.com> <BANLkTikshdELcV06nY+B2UihuoGpAS8RaQ@mail.gmail.com> <4DCD13A7020000250003D6C6@gw.wicourts.gov> <BANLkTimKMUOzxDhn7rr1nCCTSrUBBRa_sg@mail.gmail.com> <4DCD1BB4020000250003D6CD@gw.wicourts.gov> <BANLkTik0pEhDveN2tadj5M=G-Mhtgm7NFg@mail.gmail.com> <BANLkTikOKycEbv1+UEEsJJBTX7Zeuk+7SQ@mail.gmail.com> <BANLkTimr99QjLde6RTg0vfCZH=xZ2kxRAQ@mail.gmail.com> <BANLkTimpQx2pTk4bJ-KDK9RPr-fSQcMXMg@mail.gmail.com> <BANLkTi=6=_OYH0yM-YVEg4GNONZ3rMFumg@mail.gmail.com> <BANLkTinxb30prV2J745U6aj_M2QMCnsR7w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox