Re: [Pharo-users] HTTP request question for an arango driver

2017-12-10 Thread Norbert Hartl
> Am 10.12.2017 um 20:35 schrieb Yann Lesage : > > > >> Le 10/12/2017 à 19:18, Sven Van Caekenberghe a écrit : >> On 9 Dec 2017, at 18:34, Yann Lesage wrote: Le 09/12/2017 à 15:52, Sven Van Caekenberghe a écrit : Hi Yann, Zinc HTTP Components can d

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-10 Thread Stephan Eggermont
Op 10-12-2017 om 20:35 schreef Yann Lesage: ? If there an option to set completely off SSL, I don't think is a good idea to use it. SSL is a real improve in security when we connect to a distant server. Depending on what you need to secure against, using a single or a few secure shared tunnel

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-10 Thread Yann Lesage
Le 10/12/2017 à 19:18, Sven Van Caekenberghe a écrit : On 9 Dec 2017, at 18:34, Yann Lesage wrote: Le 09/12/2017 à 15:52, Sven Van Caekenberghe a écrit : Hi Yann, Zinc HTTP Components can do 1000s of requests per second, to localhost (so excluding a real network) and using a single ZnC

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-10 Thread Sven Van Caekenberghe
> On 9 Dec 2017, at 18:34, Yann Lesage wrote: > > > > Le 09/12/2017 à 15:52, Sven Van Caekenberghe a écrit : >> Hi Yann, >> >> Zinc HTTP Components can do 1000s of requests per second, to localhost (so >> excluding a real network) and using a single ZnClient instance with a reused >> conne

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-09 Thread Yann Lesage
Le 09/12/2017 à 15:52, Sven Van Caekenberghe a écrit : Hi Yann, Zinc HTTP Components can do 1000s of requests per second, to localhost (so excluding a real network) and using a single ZnClient instance with a reused connection (HTTP/1.1's default). Of course, data size is also a factor, I am

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-09 Thread Sven Van Caekenberghe
Hi Yann, Zinc HTTP Components can do 1000s of requests per second, to localhost (so excluding a real network) and using a single ZnClient instance with a reused connection (HTTP/1.1's default). Of course, data size is also a factor, I am talking about small requests/responses. I browsed your c

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-09 Thread Norbert Hartl
> Am 08.12.2017 um 21:14 schrieb Stephane Ducasse : > > Yann > I do not think that connecting a database via a HTTP client can be as > fast as with a FFI or other means. > This is mainly why database like Gemstone are superior for accessing a > lot of data. > Stef > Do you have any numbers to b

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-08 Thread Stephane Ducasse
Super Yann! Keep pushing. Let us know. This is important to announce like that other people can join forces. On Fri, Dec 8, 2017 at 11:52 PM, Yann Lesage wrote: > Le 08/12/2017 à 17:13, Norbert Hartl a écrit : > >> Hi, >> >>> Am 08.12.2017 um 15:32 schrieb Yann Lesage : >>> >>> Hello, >>> >>> >>

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-08 Thread Yann Lesage
Le 08/12/2017 à 17:13, Norbert Hartl a écrit : Hi, Am 08.12.2017 um 15:32 schrieb Yann Lesage : Hello, I write an driver for Arangodb . So like it's indicated in Arango documentation, I use the HTTP API. The repo is https://github.com/Valtena/Pharango that is really wonderful. I‘m plan

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-08 Thread Stephane Ducasse
Yann I do not think that connecting a database via a HTTP client can be as fast as with a FFI or other means. This is mainly why database like Gemstone are superior for accessing a lot of data. Stef On Fri, Dec 8, 2017 at 4:32 PM, Yann Lesage wrote: > Hello, > > > I write an driver for Arangodb .

Re: [Pharo-users] HTTP request question for an arango driver

2017-12-08 Thread Norbert Hartl
Hi, > Am 08.12.2017 um 15:32 schrieb Yann Lesage : > > Hello, > > > I write an driver for Arangodb . So like it's indicated in Arango > documentation, I use the HTTP API. The repo is > https://github.com/Valtena/Pharango > that is really wonderful. I‘m planning to do that for a long time bu

[Pharo-users] HTTP request question for an arango driver

2017-12-08 Thread Yann Lesage
Hello, I write an driver for Arangodb . So like it's indicated in Arango documentation, I use the HTTP API.  The repo is https://github.com/Valtena/Pharango Now, the problem : Arango using Znclient make around 1 000 requests/second. And the question : Are there any recommended pratice to