[ Go Back ]
Java Converter
Converts Parthonyte code to server-side Java code. Parthonyte variable declarations are handled by using variable names beginning with an uppercase letter preceded by a type character: b for boolean, i for int, j for long, c for char, f for double, and s for string. Object variables followed by comment beginning with the class name.
Revenue
Making 3 assumptions: 1) assume that 1500 host users and 15,000 converted client users exist, and host users are split evenly 3 ways: peer-to-peer, client-server hosted by Parthonet, client-server hosted elsewhere; 2) assume that average host user in client-server mode, hosted by Parthonet, pays $50/year; 3) assume that ad revenue from advertoozers equals half of revenue from converted users. Then annual revenue equals 15000(10)(1.5) + 500(20) + 500(50) + 500(10) = 225,000 + 10,000 + 25,000 + 5000 = $265,000.
To calculate the amount of annual revenue per 100,000 converted users, including host users, multiply 265,000 by 100,000 divided by (15,000 + 1500) = $1.6 million.
Surcharge for Heavy Users
Host users in client-server mode, when hosted by Parthonet, pay a minumum hosting fee (tier zero) of $20/year. Those with high-bandwidth requirements pay $5/month in the lowest data usage tier, and $20/month in the highest tier. So annual charges are always either $20 (tier zero) or between $60 and $240. The annual fee of $20 is paid up front. After 30 days, the appropriate data usage tier is determined, which is recalculated every 3 months.
Data Usage
Data usage is determined by amount of data downloaded/uploaded, and server memory usage. Server memory usage is in proportion to the number of 10-byte nodes allocated by server-side Parthonyte code. Usually the Java version of the server-side code is executed, but randomly and up to 5 percent of the time, the Parthonyte version of the server-side code is executed.