Varun Chopra

Ranch Hand
+ Follow
since Jul 10, 2008
Merit badge: grant badges
For More
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 Varun Chopra

Thanks.
This is what I was looking for - https://dev.w3.org/html5/webdatabase/
But it seems this is not a well accepted mechanism, so cookies seem to be the primary way to store data as key-value pairs.
Is it possible to store data on browser side for the current session only in a browser side database? Do you explain this concept or do you think this sort of thing is possible?
Webner Solutions (http://www.webnersolutions.com) is a software development company serving global clients to help them on Java/JEE, .NET, PHP, CRM (Salesforce and Zoho), Sage ERP and Mobile apps development projects.
Integration involving Sage MAS, Salesforce, Zoho, AccountingSuite, Ecosign, Merchat XP, Paypal, Google Autotask, Windows Azure, Amazon S3 and several other cloud solutions. We develop mobile apps on iOS, Android and Phonegap platforms. Contact us today at info@webners.com.
10 years ago
Thanks Winston and Napa for your thoughts.
I was trying to understand how other systems are doing it and what's the right architecture. I am sure this is a common problem.
10 years ago
Thanks for reply Ulf. You are right, main problem is processing on server. And zipping the file before upload will reduce the load on server to receive/save the file before processing starts.

Thanks for other ideas as well. Renice seems like a good thing, and I am definitely advocating for a separate/dedicated machine for such processes because they won't agree to uploading/processing data at night.


10 years ago
Our client has a user facing web application running on Jboss. There is a separate admin application (in its own ear) but deployed on same Jboss server on which user facing web application is running.
They need a screen to upload large amount of data into database. Their original files were in excel with size > 60 mb.
We suggested following to them:

a. Change upload format to CSV - this brought down file sizes to 25-30 mb
b. Upload process will be MDB - asynchronous processing of data so that admin web app does not stop responding

We also suggested following to them:

a. Host admin app on a different machine so that user facing site does not respond slow during data processing
b. We can provide incremental upload feature and they should upload files in the chunks of 4-5 mb, specifically if they have user a web page to upload such files - they don't buy this argument though.
c. Data processing can be a separate script instead of a part of admin web application. They can FTP files to a designated location and this script will process those files.

I have following questions:

Q1 - Have you seen upload of such large datafiles to a web application? I see sites like Zoho CRM or Salesforce do not support such data imports and mostly fail or not respond.
Q2 - Is there a set of guidelines/best practices to upload large data files of this nature? How do insurance companies or others with enormous set of data accomplish such tasks (what is the architecture of such programs)?

Thanks
10 years ago
Thanks Joel. Best wishes for the book.
10 years ago
Dear Joel,

Thanks for your book, it's definitely going to help a lot of Android developers.
May I know if you expect the book to remain useful even for upcoming versions of Android OS (for next 12-18 months) because we see at least 1-2 upgrades to the OS every year?

Thanks
10 years ago
Dear Tushar and S G Ganesh,

Best wishes for your book.
I have 2 questions:

a. Does the book explain concepts in sufficient detail or focus is more on listing the correct answers?
b. Does the book contain examples on every topic?

Thanks
Varun
Thanks Lasse and everyone at CodeRanch.
11 years ago
Thanks for reply Lasse. I understand the focus part. Best wishes.
11 years ago
Hi Lasse Koskela and thanks for your book. I have 2 questions:

a) Does the book also discuss different frameworks available for unit testing and their comparison?
b) Does the book go into datastore side and to generate test data? For e.g. suppose there is method that receives certain rules and it goes to database and validates data against the rules. It returns objects containing data that meets the rules. How to generate minimum data in database for testing all rules (any coding techniques to generate data). Is these any example on this or am I talking about something too specific here?

Regards

11 years ago
Hello Rob,

I have 2 questions:

1. Does the book cover how to write CSS and HTML code so that old browsers that do not yet support CSS3 and HTML5 would also render content gracefully?
2. Does book focus on rendering in mobile devices as well?

Best Regards
Varun
Friends,

This is more like a discussion than a problem to be solved. I hope this is the right forum because a lot of it is related to testing.
According to my experience, these are critical pieces which should be in good health for a robust software:

Proper coding (layers, correct logic, coding conventions etc)
Functional testing for + and - cases
Compatibility across browsers
Testing in concurrent user environment
Testing transactional nature of software
Consistency in look and feel across site
Performance, load and stress testing
Security Testing
Proper database design (constraints, primary keys, naming conventions, data types, normalization etc)
Server log scan (to make sure log is capturing optimized information [neither less nor more], no behind the scene exceptions are there which are ignore on presentation layer etc)
Monitoring system resource utilization by software (CPU, memory, swap space, i/o)
Documentation Review
Proper folder structure
Code Versioning Review
Cross device compatibility (mobile, ipad, laptop etc)
Machine configuration optimization


If you can think of more pieces please add.

My question is what comes under who's responsibility? Which items are responsibility of test engineer, and others are of whom?

Varun
11 years ago
Hello Tanuj,

Congrats on publish of your book.
Do you also cover Best Practices wrt Tomcat 7. For example:

a) Best practices for configuring server
b) Best practices for security
c) Best practices for Performance - When to cluster and how and clustering versus load balancing

Best Regards
Varun
11 years ago