Rahul Bhattacharjee

Ranch Hand
+ Follow
since Nov 29, 2005
Bangalore , India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rahul Bhattacharjee

Paul Anilprem wrote: I know many people who went to India and came back because even though they were making good salary in India, their net saving was less as compared to what they were able to save in USD after applying Rs/US conversion.



good to know this , I have not seen much of people returning to US. Yes , some of them do.
5 years ago
I completely agree with Jayesh about his comment about income and standard of living in India.

Do not agree entirely about not able to return to India having stayed in US for 15 years. The company where I work in India,most of the mid - senior management , engineering employees have stayed more that 15 years in US and then have come back to India.I think its upto the individual.

Jeanne , Income is not the only thing , however if there is no much of benefit then I think its better to be here only.Closer to family and friends.Considering to stay in US for couple of years will not be a bad option either.
Just that we hear that cost of living especially housing is very very high , so that thing is making us feel that it might not be worth. Anyway , we still have time to think.
5 years ago
Yes Jeanne , for a single person its more than sufficient , but he would be married some time in next year and again he is earning good in India , I think he probably should pass this.

Anyway , thanks a lot for your inputs.

Jayesh , he is in Bangalore with [redacted].
5 years ago
Thanks for the response Jayesh and Jeanne.

I have suggested to reconsider the offer as he is earning good sum in India. However , people are crazy to work in valley for sometime.
His offer says that employees can select from a wide variety of medical plans.Nothing was mentioned about companies contribution etc and we have also not asked.

He is single as of now and is all set to loose his bachelors in april 04 .
5 years ago
My brother has taken up a job (software engineer)in Mountain View , CA and he has been offered 100K and nothing else . No bonus , no stock options , no rsu's. Visa H1B
Now the thing is how much would be the take home salary considering his salary. The company doesn't offer 401K.

From what I know , the cost of living in bay area is very very high and with this salary , he can just afford to make a decent living , nothing more.

Question -
1) Can 100K for a 9+ years experiences Java developer be considered as a good package. I know it depends on the skills , but please give me your opinion.
2) As the cost of living is very subjective and would vary from person to person , can someone point me to getting a approximate figure of monthly take home. I have used sites like paycity etc , but the number looks quite less like 4k or so.
3) Can someone point me to things that one should consider while calculating deductions. Like house , transport , phone , tv , etc

Any help would be highly appreciated!



5 years ago
Thanks a lot for the response. As the processing of the rows involve calling a external web service and other network io related operation.We have implemented the producer consumer pattern to process the number of tuples in parallel , but again those are also bounded by the cup core, might not be sufficient for our case.
We cannot go for the third solution as the state of db is changing continuously and very fast rate.

May be offloading is good fit as of now. But I am now considering writing the tuples to JMS queue and then let a large number of consumer threads consume/process those messages and ack. It would not be bounded by the cup cores as we can use multiple consumer system.

Thanks ,
Rahul
5 years ago
Thanks a lot Martin for the response. I wasn't aware that Oracle uses MVCC.

I am still struck with my question , as if I have to process millions of rows , one after other , a processing of a single row takes some time , then it would not be possible (or not a good approach) to open a resultset and process it , as the result set might have to be open for days and undo space might run out. It also looks kind of bad design to have such a long running transaction. So how do we fix this problem.

One approach my friend did and it worked was to open the result set and write the details (details which are required to process further) from the rows to a file and then quickly close the result set and then read the file and do the processing without the need of db.It has worked.

I somehow feel that the approach of off loading data from one data source to another can be avoided.Do you have any advice on this ?

5 years ago
After a long time at JR.

I have a question regarding the processing of huge resultset in databases. I am using Oracle.

Say I want to do processing of all the rows of a particular table and the table contains 10s of mllions of rows and the result should be in sorted as per some column.

I think the way it happens (I may be wrong , please correct me) is that , read lock of all the tuples are acquired , the sorting is done and then the result is dumped in some space in the server's memory (+ may be some disk , as momory might not be sufficient) and then all the read locks are released for other sessions , then a batch of rows are returned to the user in a resultset , thereafter the caller would get batches of results from the resultset based on the fetch size set which extracting the result set.

This might led the server to run out of resources and the server might not take any more work from other sessions. What would be the preferred way of doing such activity involving huge number of rows from a table.

5 years ago
Hey,

I wanted to post this in the Threads forum then again , I do not have anything specific to ask , just wanted to share a new blog post , so posting it here.

I have written something on a lock free singleton , I know other clean way to get around with the syncronized version of singleton , but just wanted to post it here.

http://goo.gl/COg2i

Do post comment if you have any point.

Thanks,
Rahul
7 years ago
Hi,

I am not sure , if this is a good place to advertise shameless my own blog post.
But am sure that it would be deleted if its not the right place.

I have written something on RESTful ness of a service.

http://bit.ly/hzn7wt

If you have any comments then please drop a note , it would certainly be useful.

Thanks,
Rahul Bhattacharjee

7 years ago
The setenv.bat thing did not work (or I might have done something wrong , didn't get much time to look deeply into it). However , with a little modification to service.bat , I was able to register tomcat as service ,that used my JRE.

Looks to me like the service looks for the PR_JVM variable for JRE , and if this is set to auto , it uses the one configured with the system.

Thanks,
Rahul Bhattacharjee
8 years ago
Thank a lot Tim , its time to do some reading and make hands dirty !!

Regards,
Rahul Bhattacharjee
8 years ago
Thanks a lot Tim.

Will your procedure change the JAVA_HOME of the environment itself , or only Tomcat would refer to it while running.
8 years ago
Hi ,

I noticed an interesting thing with Tomcat or I must have missed something silly. So though of discussing it here.

I want to run tomcat 5.5 as service and it should use a specific JRE , not the one which is being pointed by JAVA_HOME environment varialbe.
To run Tomcat as service , there is a batch file named service.bat in the bin directory .With its help you can install/remove tomcat service instances as windows service.

Question is how do I pass it a different JRE then the one which is pointed by the environment variable JAVA_HOME.

I gone through the code of service.bat and found that it tries to identify the JRE and stores it in a variable PR_JVM , but never seem to use it. I can change the code to point PR_JVM to my jre , but how do I pass it to Tomcat5.exe so that it uses it. In the web also I could not find any good documentation about the usage of tomcat5.exe.

I was suppose to write to the tomcat developers and users mailing list , then though of writing to JR before doing so.

Any pointers would greatly be appreciated .

Thanks,
Rahul Bhattacharjee
8 years ago
Thanks a lot Ulf

Regards,
Rahul Bhattacharjee