LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Highly Rated Users

Forum
No Posts Rated

Top 50
Given
Received

Links

Wiki
Blog

Forum Statistics

Users
Members:
1882
Members Online:
2
Guests Online:
92

Total Post History
Posts:
81456
Topics:
18718

7-Day Post History
New Posts:
0
New Topics:
0
Active Topics:
0

Our newest member
justanails28

Other

FAQ
All times are UTC [ DST ]

Mono and Java VM's, Side By Side

Building Solutions, Composition of Applications, etc
Please wait...

Mono and Java VM's, Side By Side

Postby AlexCuse on Thu Jun 10, 2010 4:43 pm

I'm building an ASP.net website that will run on mono. Using lucene.net for search. I'm currently using lucene 2.3.x and it is working well, but I'm running into roadblocks when trying to upgrade.

The 2.4 versions of lucene seem to work, but they are failing silently when deleting documents (its not expunging the deleted documents, and I need this frequently for updating the index). When I compile the trunk and try using that, the mono runtime crashes altogether (at least running under XSP). This isn't entirely unexpected, I imagine lucene is doing a lot of low-level file operations and may rely on windows-specific tricks for doing it fast.

For now 2.3.x is working well enough, as I've only implemented basic search functionality so far. But I have some plans for the future that would involve a lot of searching of numeric fields. I haven't yet committed to using the numeric fields in lucene 2.9+ because I have some concerns about index size, but I would like to evaluate.

This brings me to my question. I remain hopeful that lucene.net's mono compatibility will improve (I'm going to spend some time trying to improve it myself, but I'm not sure how long it will take for me to get up to speed on the codebase) but if it doesn't I'm considering moving my indexing/search functionality to a set of webservices based on java lucene. I had planned to do this anyway (only using .net webservices).

This will need to run on a single, relatively underpowered server at first. I'm not too worried about apache's ability to handle this scenario, and each app will work on its' own data so there is not a ton of concern in that regard. But I am worried about any potential issues from running the two virtual machines side by side. Does anyone have any recommended reading on this topic? It could be as it pertains to .net/java on windows or any pair of virtual machines really, I'm just looking for general issues to be aware of at this point.
Say what you like about the tenets of National Socialism Dude, at least it's an ethos
User avatar
AlexCuse
LTD Admin
LTD Admin
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031
 
Posts: 5524
Joined: Tue Oct 09, 2007 5:26 pm
Location: Pennsylvania, US
Unrated

Re: Mono and Java VM's, Side By Side

Postby samuelsun on Thu Jan 13, 2011 10:26 pm

Hi Alex ,
Wish you best of luck and i hope you will make it one day.
samuelsun
Newbie
Newbie
 
Posts: 4
Joined: Mon Nov 08, 2010 11:49 pm
Unrated

Re: Mono and Java VM's, Side By Side

Postby AlexCuse on Fri Jan 14, 2011 6:22 pm

Thanks, I hope to make it one day as well :)
Say what you like about the tenets of National Socialism Dude, at least it's an ethos
User avatar
AlexCuse
LTD Admin
LTD Admin
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031
 
Posts: 5524
Joined: Tue Oct 09, 2007 5:26 pm
Location: Pennsylvania, US
Unrated

Re: Mono and Java VM's, Side By Side

Postby chrischau on Fri Jan 14, 2011 9:55 pm

I hope you did it wrong.
chrischau
Newbie
Newbie
LTD Bronze - Rating: 3
 
Posts: 1
Joined: Fri Jan 14, 2011 9:52 pm

Re: Mono and Java VM's, Side By Side

Postby AlexCuse on Fri Jan 14, 2011 10:00 pm

chrischau wrote:I hope you did it wrong.


You know how I do
Say what you like about the tenets of National Socialism Dude, at least it's an ethos
User avatar
AlexCuse
LTD Admin
LTD Admin
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031LTD Gold - Rating: 1031
LTD Gold - Rating: 1031
 
Posts: 5524
Joined: Tue Oct 09, 2007 5:26 pm
Location: Pennsylvania, US
Unrated

Re: Mono and Java VM's, Side By Side

Postby 123456 on Tue Aug 02, 2011 11:02 pm

Hi!
Alex..
that is really amazing,..i Wish you best of luck and i sour you will done it one day....
thanks
123456
Apprentice
Apprentice
 
Posts: 6
Joined: Fri Jul 15, 2011 7:39 pm
Unrated