common/thrift.git
18 years agoAnother checkpoint of initial cut at thread pool manager for thrift and related concu...
Marc Slemko [Mon, 17 Jul 2006 23:51:05 +0000 (23:51 +0000)] 
Another checkpoint of initial cut at thread pool manager for thrift and related concurrency classes.

Added TimerManager -  I can't live without one after all.

Added Util - handy place for common time operations et al.

Initial test code

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664722 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCheckpoint of initial cut at thread pool manager for thrift and related concurrency...
Marc Slemko [Sat, 15 Jul 2006 01:52:39 +0000 (01:52 +0000)] 
Checkpoint of initial cut at thread pool manager for thrift and related concurrency classes.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664721 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrift now works in PHP, hot stuff
Mark Slee [Fri, 30 Jun 2006 18:28:50 +0000 (18:28 +0000)] 
Thrift now works in PHP, hot stuff

Summary: End to end communication working in Thrift with PHP

Problem: It's a bit slower than pillar still. Need to find out why.

Reviewed By: aditya

Test Plan: Unit tests are in the test directory. Get lucas on the PHP case...

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664720 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrift: move /lib/cpp code into /lib/cpp/src
Mark Slee [Mon, 26 Jun 2006 23:56:08 +0000 (23:56 +0000)] 
Thrift: move /lib/cpp code into /lib/cpp/src

Summary: Clean separation of src and buildfiles etc. is key

Reviewed By: aditya

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664719 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrift: getting rid of U32s for map/list/set/string lengths and field ids etc.
Mark Slee [Mon, 26 Jun 2006 23:52:22 +0000 (23:52 +0000)] 
Thrift: getting rid of U32s for map/list/set/string lengths and field ids etc.

Summary: U32s are on the out. Make way for the I32.

Reviewed By: aditya

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664718 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdjust the Thrift compiler makefile to clean up after the obj/ folder that it builds...
Mark Slee [Wed, 7 Jun 2006 06:57:01 +0000 (06:57 +0000)] 
Adjust the Thrift compiler makefile to clean up after the obj/ folder that it builds into

Summary: I am super nitpicky, and after make clean I don't like seeing:
$ svn st
?   obj/

Problem: make clean didn't remove the generated obj/ dir

Solution: Kill it!

Reviewed By: aditya

Test Plan: Do make clean in compiler directory followed by svn st. You should see nothing!

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664717 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrift test code
Mark Slee [Wed, 7 Jun 2006 06:53:25 +0000 (06:53 +0000)] 
Thrift test code

Summary: Did I promise you this or what?! Interoperable test servers and clients in both C++ and Java that you can use to check that they all work, all perform well, and that they all actually talk to each other!

Problem: How we gon' test this Thrift bizniss?

Solution: Write some test scenarios in each language.

Reviewed By: aditya

Test Plan: This IS the test plan.

Notes: These tools are actually pretty easy to use, so long as you remember to type 'ant' in the java directory instead of 'make'.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664716 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJava libraries for Thrift
Mark Slee [Wed, 7 Jun 2006 06:51:18 +0000 (06:51 +0000)] 
Java libraries for Thrift

Summary: The basic Thrift stack implemented in Java, still in need of a lot of work but fully functional.

Reviewed By: aditya

Test Plan: Unit tests are the NEXT checkin, I swear

Notes: Perf on the Java stuff actually isn't that bad, and it's far from optimized at the moment. Barely any tweaking has been done. Testing shows that a Java server with the C++ client has RPC performance within 2x of the pure C++ implementations. This is pretty sweet, since this cost will be eclipsed by the cost of whatever processing is being done on an actual server doing real work.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664715 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate Thrift CPP libraries to work with new generated source, change underlying...
Mark Slee [Wed, 7 Jun 2006 06:48:56 +0000 (06:48 +0000)] 
Update Thrift CPP libraries to work with new generated source, change underlying buffers to use uint8_t* instead of std::string

Summary: Major overhaul to the CPP libraries.

Reviewed By: aditya

Test Plan: Again, keep an eye out for the unit tests commit

Notes: Initial perf tests show that Thrift is not only more robust than Pillar, but its implementation is actually around 10-20% faster. We can do about 10 RPC function calls with small data payloads in under 2ms. THAT IS FAST. THAT IS THRIFTY.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664714 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrift compiler now compiles both native Java and C++ code
Mark Slee [Wed, 7 Jun 2006 06:46:24 +0000 (06:46 +0000)] 
Thrift compiler now compiles both native Java and C++ code

Summary: Compiles to both C++ and Java, plus a host of other cool options like command line control over which languages to output code in

Reviewed By: aditya

Test Plan: The unit test checkins are coming momentarily...

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664713 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRev 2 of Thrift, the Pillar successor
Mark Slee [Tue, 30 May 2006 09:24:40 +0000 (09:24 +0000)] 
Rev 2 of Thrift, the Pillar successor

Summary: End-to-end communications and serialization in C++ is working

Reviewed By: aditya

Test Plan: See the new top-level test/ folder. It vaguely resembles a unit test, though it could be more automated.

Revert Plan: Revertible

Notes: Still a LOT of optimization work to be done on the generated C++ code, which should be using dynamic memory in a number of places. Next major task is writing the PHP/Java/Python generators.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664712 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBaseline commit for thrift, which is pillar v2
Mark Slee [Wed, 24 May 2006 21:45:31 +0000 (21:45 +0000)] 
Baseline commit for thrift, which is pillar v2

Reviewed By: aditya

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664711 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdding dummy thrift and trunk directories.
David Reiss [Sun, 11 May 2008 20:54:23 +0000 (20:54 +0000)] 
Adding dummy thrift and trunk directories.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664710 13f79535-47bb-0310-9956-ffa450edef68

17 years agoinitialize thrift repo
Doug Cutting [Fri, 16 May 2008 20:33:47 +0000 (20:33 +0000)] 
initialize thrift repo

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@657196 13f79535-47bb-0310-9956-ffa450edef68