Thrift / Scala concurrency issue

2009-09-16 Thread Sebastian Latza

Hi everybody,

while Scala isn''t natively supported by Thrift, maybe someone has  
seen the same problem I'm facing.
I have got a very simple Thrift service which is doing some processing  
(100 to 1000ms) and then returns the result back to the client. When  
benchmarking I noticed that when adding more concurrent clients the  
performance degraded: while one client was getting 10 req/sec, two  
were getting 5 req/sec, and so on. So the server is handling the  
requests sequential for some reason. I have tried all implementations  
(TThreadPoolServer, TNonblockingServer, THsHaServer) with the same  
results. The implementation is quite vanilla:


// Includes here...

class ServiceHandler() extends service.Iface {
override def call_function(String: foo) : String = {
Thread.sleep(100)
return result
}
}

object server {
 def main(args: Array[String]) {
   val processor = new service.Processor(new ServiceHandler())
   val socket = new TNonblockingServerSocket(9090)
   val server = new TNonblockingServer(processor, socket)
   server.serve()
}

Java 1.6.0_16, Scala 2.7.5, same results on Mac and Linux.

Any hints what I might be running into here?

Regards
Sebastian


[Telepathy] unsubscribe

2008-08-18 Thread Sebastian Latza
unsubscribe
___
Telepathy mailing list
Telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [hlds_linux] TF2 Server Convars

2007-09-19 Thread Sebastian Latza
Mike Durand schrieb:
 This is a multi-part message in MIME format.
 --
 [ Picked text/plain from multipart/alternative ]
 Hi All-



 Many of you have asked about convars for the TF dedicated server and now
 that I have a spare moment I'm glad to share them with you. Here they
 are:

 [...]
I'm missing a convar for the respawn-delay. Any plans on implementing?

Sebastian

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: GTA02 status updates please

2007-08-22 Thread Sebastian Latza
Sean Moss-Pultz schrieb:
 On 07/31/2007 Sven Neuhaus wrote:
   
 Hello Openmoko folks,

 please keep us in the loop regarding the GTA02 development. How is it
 progressing? Do you have pictures of the inside of the prototypes 
 already?
 Is it still on track for the October release date?
 The last update on GTA02 was more than a month ago.
 

 I'll ping mokoninja. Gives him a day or so...
Any news on that, or have I just missed the mail?
--
Sebastian Latza


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[squid-users] Reverse Cache with with HTTP-GET argument-caching

2005-11-28 Thread Sebastian Latza
Hi everyone,
I'm currently running a squid reverse proxy to cache requests to a php-update 
script.
The problem I'm facing now is that the requests doesn't seem to be cached 
because there is an id delivered as an HTTP-GET argument in form of 
update.php?extid={1234-5678-...}. Therefor (i assume) access.log is reporting 
solely TCP_DENIED  (even with complete identical requests). Is there a way to 
include these arguments to the caching procedure?
-- 
Sebastian Latza
[EMAIL PROTECTED]



Re: [squid-users] Reverse Cache with with HTTP-GET argument-caching

2005-11-28 Thread Sebastian Latza
Ronny T. Lampert schrieb:

Therefor (i assume) access.log is reporting solely TCP_DENIED  (even with 
complete
identical requests). Is there a way to include these arguments to the
caching procedure?




As for the TCP_DENIED, I don't know.

  

Gee, typo. Ment TCP_MISS. Sorry.

-- 
Sebastian Latza
[EMAIL PROTECTED]