CQL over Cache

Hi,
I have a fundamental question about executing CQL over the cache. Is it true that one can use only key fields (declared as a part of cache config) in the 'where' clause?
If yes, why so. Typically, a cache provides query service on the cache, and I dont believe this restriction on key fields apply.
Can someone please advise?
Thanks and regards.
Anand.

Hi,
Yes, your statement is true, mostly because to keep the operation bounded we only execute a cache.get() on the underlying cache. In other words, we do attempt to iterate over all values or invoke some existing query service that a cache may or may not provide. Keep in mind that not all cache providers have a query service.
Perhaps you could work-around this by specifying a 'key class' in the cache definition in the EPN, and use the java cartridge in CQL.
What's your exact use-case?
Best regards,
Alex

Similar Messages

  • Some websites wont cache

    I have browser.cache.check_doc_frequency set to 2 but some webpages simply will not cache. Is there a way to force this? Memory use is not an issue

    Thanks for that useful information.
    I installed a version of that script (just removed the if url check so it applies to every site). It works for some sites, not others (like this one).
    There definitely needs to be a setting added to firefox to override the pageshow/pagehide event hijacking user control over caching. I shudder to think how many billions of unnecessary packets are sent every day and how much time and bandwidth is wasted reloading information that is exactly the same and already sitting on your computer [Idiocracy].

  • Security in applet cache

    Hello.
    I read below at http://www.velocityreviews.com/forums/t132214-applet-caching.html
    Wut is answer of that post?
    thx.
    I found that when an applet is cached (using Sun jvm), it's placed in the
    Sun\Java\Deployment\cache\javapi\jar\ folder. The files are saved with
    somekind of checksum added to them (fx: file1.jar-md5checksum.zip). Does
    this prevent hackers from modifying the applet and have the website execute
    a modified applet instead of the original one? If so, is this security
    mechanism provided with every jvm? (ie MS, IBM etc?)
    Does anyone know anything about this?
    Thanks in advance!
    -Thijs

    spalguru wrote:
    ..upgrading windows sun java from 1.5 to 1.6 makes our applet caching works faultly, it doesnt cache applets file into the cache directory...
    can anybody helps?.. Can you find your shift key and apply it once at the start of every sentence? This helps the reader to quickly scan the text, looking for ways to help. You would not want to make it harder to help, would you?
    ..is there any bugs within javas new 6 versions image caching?Non applet runtime classpath resource caching is left to browsers, AFAIU. That means that whatever the browser decides to do (from caching all files, to caching no files, to allowing the end user to remove all cached files), is correct behaviour.
    For more control over caching, add resources into Jars, and add them to the applet's runtime classpath using the archive attribute of the applet element.
    For even more control over caching, either launch the applet free-floating using Java Web Start, or deploy it within a plug-in2 architecture JRE within a web page, & hook into the JNLP API's DownloadService.

  • Delete app cache

    Hello. Is there a way to delete app cache without having to delete and reinstall the app? Is iOS set to delete over cache automatically at some point , and if so, when? because my vine app recently had over 300mb cache and I had to reinstall the app because I have a 8gb iPhone 4s. I can't afford a 5c or 5s so I have to make do with what I have.

    maclife.com/how_remove_other_data_your_iphone

  • CS5.5 Gripes/CS6 Wish List (from the perspective of an FCP switcher)

    I have been a Final Cut Pro user for more than 10 years (starting with version 1.2 on a 500 MHz G4).  Final Cut Pro X is a disaster, but that’s a well-covered topic for a different forum.  After experimenting with Premiere Pro CS5.5 for a few months, I am ready to make the switch for all of my future projects.
    I make a living editing video.  I don’t, however, work for a big company, and I don’t have a lot of money to spend on third-party software or hardware.  Much of my work is shot on DSLRs and delivered online.  That may put me in the category of “pro-sumer” to some, but I wouldn’t be making the switch if I didn’t require a more professional alternative to FCPX to do my job.
    I also don’t think “pro” has to be synonymous with clunky and ugly.  (I’m looking at you, Avid.)  When Final Cut was young, it was fun, intuitive, and sturdy.  It became a robust, professional NLE over time.  I think Premiere Pro is on that path now.
    I like the look, the feel, and the functionality of CS5.5.  It’s not quite Apple-slick, but it’s very much at home on a Mac.  Overall, it’s an upgrade to FCP7 and a very strong alternative to FCPX.  I have high hopes for CS6.
    But this is not a comprehensive review.  It is just a list of negatives:  my gripes, wishes, and personal preferences.  My list of positives would be much longer, but my concern right now is with CS6 and the improvements that I hope it delivers.  As I am new to Premiere, it's quite possible that I am mistaken about certain functionalities or lack thereof, but I thoroughly researched each point in the help docs and forums before posting this.
    My primary system is a 3.2 GHz iMac 21” (2010) with 8 GB RAM, 512MB VRAM (ATI Radeon HD), running Mac OS X 10.7 with external Firewire 800 drives and a DisplayPort-to-HDMI external display.
    MAJOR ISSUES
    Hardware acceleration support for ATI GPUs
    There are rumors that Apple will be switching back to nVidia, but all recent iMacs have ATI and only ATI cards.
    Background rendering (or at least improved rendering options)
    Background rendering is probably FCPX’s most impressive feature and Adobe needs to catch up.  However, even if true background rending can’t be achieved, there should be an auto-render option (after a set idle time), partial rendering (if you cancel a render, keep everything that has been rendered up until that point), and more render options (e.g. render all and render selected). Regarding that last point, I think the whole work area concept should be dropped.  It makes sense for other apps, particularly for animation, but it just gets in the way of more important timeline functions while offering little functionality beyond being a clumsy way to control the area to be rendered.  At the very least, have a way to hide it.
    Full-screen preview
    Maximizing the program frame just isn’t the same (although the grave accent key function may be reason enough to switch to Premiere).  Full-screen preview isn’t just a nifty function for demo-ing sequences.  It’s a big part of the way I work.
    DisplayPort/Thunderbolt out to HDMI
    It may be that a third-party card is required for proper color correction on an external display, but there’s no reason this feature shouldn’t exist.
    Thumbnail images/show frames bug
    This one drives me crazy. I’ve tested this on 3 different Mac systems with various hardware configurations. Thumbnail images in the bins and frame images in the timeline seem to be recreated every time a project is opened, even though the thumbnail image files in the media cache folder don’t actually appear to get rewritten. It’s as if there is no cache at all (even for the most recently viewed bins and timelines segments).  It can’t be an intentional functionality for saving hard drive space because the cache files continue to take up more and more space.
    Open multiple projects simultaneously
    I know that you can cut and paste between projects but being able to open multiple projects at the same time is a very useful feature of FCP7.
    Magic Mouse/Magic Trackpad scrolling
    Premiere Pro is a cross-platform system and impressively so, but there need to be a few Mac-specific interface adjustments, the most important of which is support for the Magic Mouse and Magic Trackpad scrolling.  I use a Magic Mouse.  (It’s an irritating device sometimes, but once you get used to it, it’s hard to live without it.)  When I’m in a window, I expect a flick up or down to scroll up or down -- in every situation, every time, including the timeline.  Unless I stop using all other Mac apps, I will never get accustomed to the timeline suddenly flying left or right when I want to scroll up or down. Also, here’s a chance for Adobe to fix a problem that FCP7 shared:  When you scroll up or down in the effect control window using the mouse, the drop-down effect controls sometimes twirl all over the place if the mouse happens to float over them. As it is, it very easy to throw settings into random disarray without even realizing it just by scrolling through the pane.
    The timeline:  selection indication, icons, and general improvements
    It is very difficult to discern at a glance what, if anything, is selected in the timeline. Transitions always look selected!  Audio tracks should be a different color or otherwise more distinct. There should be an option to show frames only without any text. The icons for track options are small, crowded, and ugly.  Some of the editing icons are too similar, namely edit and ripple edit, although the excellent status bar at the bottom of the application goes a long way towards making up for this.  Simply put, the timeline could use some polish.  Don’t be afraid to steal from Apple on this one.  Keep the tracks; just make it easier on the eyes!
    Conforming audio
    The ability of CS5.5 to work natively with DSLR footage is awesome, but it’s not fully DSLR native if it has to pre-render a major component of the footage before it can play, even if it’s just the audio.
    Media loading
    When launching a project, it can take a long time for all the media in the project to “load” as tracked in the status bar.  I’m sure there’s a reason for this, but since the program is able to determine which source media files are missing before this step (and gives you the option to reconnect them), what is it doing and why must it load every clip in the project, even those not in use by any sequences?
    Page up/page down and arrow key commands
    For starters, the current page up/page down key functions should take the CTI to the next cut in the sequence, not the next cut in the track that happens to be targeted, which can be way down timeline.  In FCP7, I frequently navigated cut to cut with the up and down arrow keys.  I’ve avoided customizing the keyboard commands to match FCP7 --  I would rather endure some hardship and learn the proper Adobe commands -- but this one is flat-out backwards.  The page up/down keys should page through the timeline (left to right and right to left), while the up and down arrow keys should take over the clip to clip function (assuming the targeted track issue is fixed).  Currently, the down arrow takes you to the very end of the timeline, a function already duplicated by and better suited for the “end” key.
    Bin management and clip relationships
    Deleting an item from a bin should not delete it from the timeline, but this is part of a bigger problem, which is the whole master file versus instance versus subclip versus dup clip thing. There aren’t any good indicators regarding the relationships of these clips, and there are few ways to adjust them.  If clips are going to be connected, then they should be fully connected.  For instance, changing the name of a clip in the bin should change it in the timeline.  Adding an effect or trimming should affect the corresponding clips between bin and timeline.  Otherwise, the clips should just be completely separate instances.  I haven’t been able to find an option to turn a clip into an independent instance, although I have to think it exists.  Also, editing an instance of a title does change every other instance of that title throughout the sequence.  I would prefer to be able to edit them separately without having to duplicate them in the title editor.
    Bin effects
    Related to the above, it should be possible to add effects to clips in bins or keep effects on clips added to bin from timeline.  It would also be nice to be able to group effects together in bins for a specific project.  The effects window is better suited for global collections.
    Clearer visual indicators that a clip has been adjusted in the effect controls panel
    Even with the effects panel visible, you have to take a close look to see if there have been any adjustments to the standard settings. An indicator on the clip in the timeline itself would be useful.
    Snapping should include the CTI
    It should also include the blade tool, although the Cmd-K option to cut at the CTI position does make this less of an issue.
    Smoother scrubbing
    Scrubbing is pretty awful.  While this is understandable with native footage, FCPX somehow manages to make this silky smooth at full resolution.
    Color correction shape mask and better color correction in general
    Simplify the primary functions of the 3-way color correction effect.  Keep all the rarely used adjustments out of the way.  I use Magic Bullet for some purpose, but I’ve always done most of my color correction within FCP.  Put the most common adjustments front and center (or up top, as it may be).  The highlights/mid-tone/shadows drop-down is inconsistent in what controls it pertains to.
    FCPX’s color correction is actually one of its more underrated features.  The way it allows you to layer corrections is dead-simple yet as powerful as anything in FCP7 or Premiere.  Stick with the 3 wheels, but rely less on hard to control tonal ranges and add simple keyframe-able shape masks for secondary color correction.
    Better support for shared media access
    AVID is king in this arena and Adobe needs to improve.  It should be possible for multiple editors to safely work on the same project files and share media over a server.
    MINOR ISSUES
    More vertically compact playback/edit control area in source and program panes
    Make room for either a taller timeline or bigger previews.  The virtual scrubber and shuttle controls are the nifty things you drag with the mouse the first time you ever use an NLE and never touch again.
    Larger icons in icon view
    Remember size and position of bin windows
    Playback resolution setting indicator
    There should be an always-visible indicator of the playback res setting in the preview pane that’s easy to adjust without right-clicking.
    Better markers for sequences and clips
    Include colors and more keyboard shortcut control.
    Clip sliding with keyboard commands
    “Opt-,” (that’s Option-comma) should cause a clip collision, not overwrite.  Either that, or “,” and “.” should slide, while “Opt-,” should overwrite.  Opt-arrow should only extend an adjoining clip if in the middle of two clips.  Basically, this whole arrangement should be re-thought.
    Project browser should auto refresh/sort.
    Option-drag on a Mac should always be copy, not move.
    Copy is currently command-drag in the project browser.
    Stop auto-save from interrupting adjustments in timeline.
    Ideally, the auto-save should just be a background function, but it should at least wait until you’re not in the middle of dragging something.
    Add ability to select a cut directly and add default transition.
    CTI control
    If you move the CTI while it’s in play mode, it should continue to play from that spot after you release the mouse, not stop there.
    Show number of frames being adjusted during keyframe adjustments.
    Enable/disable specific effect parameters/keyframes.
    Clearing an effect should clear keyframes as well.
    Or have an option to clear both.
    Position controls
    There should be a preference to make the default position 0.0 x 0.0 (as opposed to 50% of whatever the resolution happens to be), and include a reset button.
    Through-edit indicator in timeline
    And a quick way to join clips, such as a right-click menu option.
    Border controls for images
    Auto save location preference and functionality
    In FCP7 I set the number of auto saves to keep to the maximum of 100 and Premiere can go even higher.  I have always used this feature as an additional backup and archive system, which has come in very handy.  Those files add up, however.  So, I prefer to auto-save to an external drive.  Also, auto saves in Premiere continue to occur whenever there are unsaved changes.  This means that if you make a small adjustment and then leave Premiere for a while, it will keep auto saving the same iteration, which is not only inefficient but leads to my next point….
    Tame the bouncing dock icon on auto save
    While using other apps, there’s no need for the dock icon to bounce every time Premiere performs an auto save.
    More/clearer control over cache locations
    There should also be an option to reset the cache/render file locations to their defaults.
    Export source range
    When exporting, remember the last-used setting of the export source range (or just dump the whole work area thing as I previously suggested).  It’s too easy to cut off a portion of the video when the export defaults back to the work area every time.
    Larger timecode display
    After spending hours and hours editing, the current timecode for clips and sequences is something you want to be able to track without squinting.  Use the letters h,m,s and f instead of colons.
    Simple slug
    Creating a black matte works okay, but it involves a few extra steps.
    Snapping toggle
    FCP allows you to quickly toggle snapping while dragging a clip.  Upon releasing the clip, the snap toggle returns to its original state.  Premiere could use this fucntion, but I suggest something simpler.  Holding down the “S” key should always turn snapping on regardless of toggle state, while releasing it returns it to however it was set before.
    Ability to dock the audio meters along top
    I like to give my timeline as much horizontal space as possible.  I’ve noticed a lot of users keep the toolbar up there, myself included.  I think it would be a good place horizontally aligned audio meters as well.
    More detailed tool tips or hover explanations in preferences
    For example:  The options regarding XMP data should make it clear that the original files will be modified by Premiere.  This caused me problems in other applications.  (After researching these settings, I understand that various Adobe applications use this information to share resources, but it’s still very unclear what the specific benefits are or what functions are lost without this option.)
    More detailed support documents
    The online support documents on the Adobe site very good.  They are nicely arranged and easy to search, but they could be more detailed and offer fuller explanations.  (Peruse the support forums and you will discover all kinds of debates that could have been easily cleared up with one concise line in a help document.)
    Icons and button design
    Icons and buttons are often too small, too similar, and too crowded throughout the interface.  Take some style tips from Apple on this one.
    NEW FEATURE WISH LIST
    Footage auto-analysis:  shot recognition, color correction, and color match
    If only Apple had just added these features and others to the FCP7 framework.  Adobe can do it better though, by using smart folders in addition to the traditional bins that we know and trust (anything besides those dreadful iMovie-style “events”).
    Effect previews
    In the 64-bit era, there has to be a quicker way to preview effects.
    Ability to render in alternate formats
    Namely ProRes or DNxHD.  This would save me considerable time on exports by allowing me to select the “use preview files” option.
    PluralEyes functionality
    Okay, I suppose I should just purchase PluralEyes...again.
    Many, many more effects!
    How about starting with the missing vignette effect?  Just because an app is “pro” doesn’t mean you should have to custom build every effect.
    Many, many more looks!
    Will most of them be cheesy looks I would never touch?  Sure...but give me some templates to play with before I tweak the look down to my exact specifications.
    More speed!
    FCPX, for all its flaws, blazes on any modern Mac.  This probably comes back to hardware acceleration, but while Premiere Pro on a Mac isn’t slow, it doesn’t blow you away.

    You hit the nail on the head, Peter.
    I recently started giving Premiere Pro CS5 a try, and was shocked by the amount of bugs and usability issues. I'm not even going as deep as you in the features, but the most glaring evidence of the lousy interface is that timecode offset bubble that appears everytime you move a clip in the timeline... the bugger appears just under your mouse pointer and won't go away, so if you try to just move a clip down a track quickly, and let go of the button ONTO the bubble, it acts as an obstacle and your drag/drop fails ! seriously, Adobe... don't tell me nobody has stumbled upon this one during beta-testing ?
    Ditto on the autosave that basicly interrupts anything you're doing. No background saving in 2011 ? At first it bothered me to no end so I disabled the autosave. And then a few hours later, Premiere crashed, and didn't even try to recover my work. I lost 2 hours of intricate work. I put autosave back on, and learned to endure the constant, annoying save dialog. And it's not like the save process is instant... even the simplest of projects takes 5 to 10 seconds to save... on an SSD... come on... let me work already...
    Of course, a headache-inducing implementation wouldn't be complete if the autosave didn't trigger even 30 seconds after a manual save. If I choose an interval of 5 minutes, just autosave 5 minutes after a manual save !
    In thumbnail view, you can reorder the clips manually. It's all fine, but you can't reorder them by name or date or length, unless you switch to list view and of course, lose the thumbnails.
    Dragging and dropping a clip in thumbnail view is a chore, because the palette doesn't scroll when the mouse reaches the edge. You know, when you want to move something at the top all the way to the bottom... so you have to drag, let go, scroll one screen, drag, let go, scroll one screen... it's a joke. Even the timeline can do it. Heck, it's a software standard, nowadays.
    Renaming a clip and pressing ENTER takes you back to... the top of the folder !?! How many times I've renamed files that were at the end of the thumbnail view, and for each clip, I had to scroll back down. Time waster.
    Want to locate a clip from the timeline, in the project ? the locate function takes you to the folder. But not to the file, you have to navigate towards it manually.
    Ditto on the up/down arrows. I haven't found a way to jump from cut to cut like in FCP7. How often do I need to jump to the starting/ending points ? much less often than jumping to a nearby cut.
    How come I can't reorder filters in the effects pane ? sorry, I can actually reorder the filters... provided I take them from the bottom and move them up. Moving effects down doesn't work. It's driving me crazy.
    Conforming happens more or less anytime. Without reason. And even if the Media Cache is already full of conformed files.
    When moving the boundaries of the work area, no timecode/offset appears. You need to let go of the button and THEN hover, then you'll know the exact time/duration.
    Try scrolling up in the timeline, it scrolls to the left (which is stupid, it should scroll up). Now scroll up on the tabs of a palette : they scroll to the right !?!
    Can't select an active track. Direct consequence : copy-pasting a clip overlaps anything that's on track 1. Say I want to duplicate clips on the same track... I can't do it.
    Copy-pasting between projects doesn't keep the transitions, only the order of the clips.
    Have you tried doing a frame freeze on a reversed clip and setting proper in/out points for the freeze ? Good luck.
    "Duplicate" command, when you right click on a thumbnail, is way too far from the cut/copy/paste commands at the top, even though they're quite related.
    The other day I transcoded footage with different audio parameters. Just the audio had changed. Upon opening the project, Premiere wanted me to locate the files, which I did. And it failed miserably. Instead, I opened the project ignoring the missing files, and then re-linked them. I pointed Premiere at the first missing file, and had to confirm the replacement. Premiere saw all the other missing files in that folder, and began prompting me FOR EACH SINGLE FILE !!! two hundred and forty three of them, precisely. Can't I have a "yes to all" button in 2012 ? and why does the relinking work inside the project and not when you open a project ?
    That was just from 3 days with Premiere Pro CS5. I still can't believe it. Just to think people bashed Final Cut Pro X, praising Premiere in comparison... Sorry, but they both have serious issues. And Premiere doesn't even have the excuse of novelty.

  • "Network host is busy, will try in 15 seconds..."

    A user that I support has a MacBook Pro 15" running 10.5.8. He is on a LAN in a small office that has two ethernet networked printers and he has been able to print to both of them since January. He recently was in another office in Colorado where he forgot and tried to print to one of the printers but of course it didn't work because it wasn't on that office' LAN.
    Now back at his local office when he tries to print, the printer looks like it is online and ready (shown in the Print&Fax Preference page as being Idle, no jobs queued) but when he prints he gets the warning message "“Network host is busy, will try in 15 seconds...”. He is on the wired LAN, not wireless. Windows PCs in the same office can print to the printer without a problem.
    I remote connected to his MBP and deleted the printer both manually and by resetting the printing system. I added the printer back as it is detected by Bonjour but still get the error. I deleted it again and tried adding by using its IP address and specifying the CUPS driver, leaving the queue name blank (this is btw a Brother 4070CDW laser). Still get the error.
    The other printer I added back by using it's IP address and CUPS driver. That one (a Brother DCP8045D) now works for printing.
    I used http://localhost:631 to access the CUPS Administration pages but didn't see anything that indicated what might be the problem.
    I'm wondering if this is some left over cache problem from when he was traveling or a firewall issue?
    Any help is welcome.

    Hello Larry,
    Generally the 'network busy' message generally indicates that the selected printer port is not available. As to why this would be happening when selecting the Bonjour advertised printer, I am not sure. But I would try pinging the printer to ensure you have a connection to the Brother. If that is okay then I would add the printer queue again, but this time selecting IP > HP Jetdirect-Socket (which is the same as Port 9100 printing which Windows will often default to and since they are printing it is worth setting the Mac the same way).
    HTH
    Pahu

  • Criticism of new data "optimization" techniques

    On February 3, Verizon announced two new network practices in an attempt to reduce bandwidth usage:
    Throttling data speeds for the top 5% of new users, and
    Employing "optimization" techniques on certain file types for all users, in certain parts of the 3G network.
    These were two separate changes, and this post only talks about (2), the "optimization" techniques.
    I would like to criticize the optimization techniques as being harmful to Internet users and contrary to long-standing principles of how the Internet operates. This optimization can lead to web sites appearing to contain incorrect data, web sites appearing to be out-of-date, and depending on how optimization is implemented, privacy and security issues. I'll explain below.
    I hope Verizon will consider reversing this decision, or if not, making some changes to reduce the scope and breadth of the optimization.
    First, I'd like to thank Verizon for posting an in-depth technical description of how optimization works, available here:
    http://support.vzw.com/terms/network_optimization.html
    This transparency helps increase confidence that Verizon is trying to make the best decisions for their users. However, I believe they have erred in those decisions.
    Optimization Contrary to Internet Operating Principles
    The Internet has long been built around the idea that two distant servers exchange data with each other by transmitting "packets" using the IP protocol. The headers of these packets contain the information required such that all the Internet routers located between these servers can deliver the packets. One of the Internet's operating principles is that when two servers set up an IP connection, the routers connecting them do not modify the data. They may route the data differently, modify the headers in some cases (like network address translation), or possibly, in some cases, even block the data--but not modify it.
    What these new optimization techniques do is intercept a device's connection to a distant server, inspect the data, determine that the device is downloading a file, and in some cases, to attempt to reduce bandwidth used, modify the packets so that when the file is received by the device, it is a file containing different (smaller) contents than what the web server sent.
    I believe that modifying the contents of the file in this matter should be off-limits to any Internet service provider, regardless of whether they are trying to save bandwidth or achieve other goals. An Internet service provider should be a common carrier, billing for service and bandwidth used but not interfering in any way with the content served by a web server, the size or content of the files transferred, or the choices of how much data their customers are willing to use and pay for by way of the sites they choose to visit.
    Old or Incorrect Data
    Verizon's description of the optimization techniques explains that many common file types, including web pages, text files, images, and video files will be cached. This means that when a device visits a web page, it may be loading the cached copy from Verizon. This means that the user may be viewing a copy of the web site that is older than what the web site is currently serving. Additionally, if some files in the cache for a single web site were added at different times, such as CSS files or images relative to some of the web pages containing them, this may even cause web pages to render incorrectly.
    It is true that many users already experience caching because many devices and nearly all computer browsers have a personal cache. However, the user is in control of the browser cache. The user can click "reload" in the browser to bypass it, clear the cache at any time, or change the caching options. There is no indication with Verizon's optimization that the user will have any control over caching, or even knowledge as to whether a particular web page is cached.
    Potential Security and Privacy Violations
    The nature of the security or privacy violations that might occur depends on how carefully Verizon has implemented optimization. But as an example of the risk, look at what happened with Google Web Accelerator. Google Web Accelerator was a now-discontinued product that users installed as add-ons to their browsers which used centralized caches stored on Google's servers to speed up web requests. However, some users found that on web sites where they logged on, they were served personalized pages that actually belonged to different users, containing their private data. This is because Google's caching technology was initially unable to distinguish between public and private pages, and different people received pages that were cached by other users. This can be fixed or prevented with very careful engineering, but caching adds a big level of risk that these type of privacy problems will occur.
    However, Verizon's explanation of how video caching works suggests that these problems with mixed-up files will indeed occur. Verizon says that their caching technology works by examining "the first few frames (8 KB) of the video". This means that if multiple videos are identical at the start, that the cache will treat them the same, even if they differ later on in the file.
    Although it may not happen very frequently, this could mean that if two videos are encoded in the same manner except for the fact that they have edits later in the file, that some users may be viewing a completely different version of the video than what the web server transmitted. This could be true even if the differing videos are stored at completely separate servers, as Verizon's explanation states that the cataloguing process caches videos the same based on the 8KB analysis even if they are from different URLs.
    Questions about Tethering and Different Devices
    Verizon's explanation says near the beginning that "The form and extent of optimization [...] does not depend on [...] the user's device". However, elsewhere in the document, the explanation states that transcoding may be done differently depending on the capabilities of the user's device. Perhaps a clarification in this document is needed.
    The reason this is an important issue is that many people may wish to know if optimization happens when tethering on a laptop. I think some people would view optimization very differently depending on whether it is done on a phone, or on a laptop. For example, many people, for, say, business reasons, may have a strong requirement that a file they downloaded from a server is really the exact file they think they downloaded, and not one that has been optimized by Verizon.
    What I would Like Verizon To Do
    With respect to Verizon's need to limit bandwidth usage or provide incentives for users to limit their bandwidth usage, I hope Verizon reverses the decision to deploy optimization and chooses alternate, less intrusive means to achieve their bandwidth goals.
    However, if Verizon still decides to proceed with optimization, I hope they will consider:
    Allowing individual customers to disable optimization completely. (Some users may choose to keep it enabled, for faster Internet browsing on their devices, so this is a compromise that will achieve some bandwidth savings.)
    Only optimizing or caching video files, instead of more frequent file types such as web pages, text files, and image files.
    Disabling optimization when tethering or using a Wi-Fi personal hotspot.
    Finally, I hope Verizon publishes more information about any changes they may make to optimization to address these and other concerns, and commits to customers and potential customers about their future plans, because many customers are in 1- or 2-year contracts, or considering entering such contracts, and do not wish to be impacted by sudden changes that negatively impact them.
    Verizon, if you are reading, thank you for considering these concerns.

    A very well written and thought out article. And, you're absolutely right - this "optimization" is exactly the reason Verizon is fighting the new net neutrality rules. Of course, Verizon itself (and it's most ardent supporters on the forums) will fail to see the irony of requiring users to obtain an "unlimited" data plan, then complaining about data usage and trying to limit it artificially. It's like a hotel renting you a room for a week, then complaining you stayed 7 days.
    Of course, it was all part of the plan to begin with - people weren't buying the data plans (because they were such a poor value), so the decision was made to start requiring them. To make it more palatable, they called the plans "unlimited" (even though at one point unlimited meant limited to 5GB, but this was later dropped). Then, once the idea of mandatory data settles in, implement data caps with overages, which is what they were shooting for all along. ATT has already leapt, Verizon has said they will, too.

  • XSQLRequest ,XSLProcessor , XSLStylesheet  Memory Problem

    Solaris & NT.
    Using the following processor combination to generate xmldocuments for an output stream, We are experiencing what appears to be a over caching of xml objects or objects not being garbage collected after use. (JProb on OC4J analysis)
    The processing works repeatedly - using a JVM with -mx=98MB after a processing some XML Objects accumulate until whatever memory resources you have allocated are exhausted. Currently processing 1200 documents will generate enough left over objects to bring the system to a halt and OutOfMemory Error.
    XSLStylesheet sheet = null;
    XSLProcessor xslt = new XSLProcessor();
    XSQLRequest req = new XSQLRequest(new URL(resMasterGetUrl));
    Hashtable params = new Hashtable(1);
    params.put("pageName",urlFilename.toString().toLowerCase());
    OutputStream out
    xslt.processXSL(new XSLStylesheet((XMLDocument)req.processToXML(params),new URL(resMasterGetBaseStyleUrl)),xmlParameters,out);
    out.close();
    req = null;
    xslt = null;
    sheet = null;
    params = null;
    COUNT MEMORY
    oracle.xml.parser.v2     DOMParser     1 ( 0.0%)     20 ( 0.0%)     
    oracle.xml.parser.v2     DTD     1 ( 0.0%)     68 ( 0.0%)     
    oracle.xml.parser.v2     DocumentBuilder     1 ( 0.0%)     92 ( 0.0%)     
    oracle.xml.parser.v2     Entry     910 ( 2.2%)     18,200 ( 0.2%)     
    oracle.xml.parser.v2     EqualExpr     5 ( 0.0%)     180 ( 0.0%)     
    oracle.xml.parser.v2     FastVector     57 ( 0.1%)     684 ( 0.0%)     
    oracle.xml.parser.v2     FilterExpr     53 ( 0.1%)     5,300 ( 0.1%)     
    oracle.xml.parser.v2     FromAttributes     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.parser.v2     FromChildren     20 ( 0.0%)     80 ( 0.0%)     
    oracle.xml.parser.v2     FromDescendantAttributes     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.parser.v2     FromDescendants     25 ( 0.1%)     300 ( 0.0%)     
    oracle.xml.parser.v2     FromSelf     5 ( 0.0%)     60 ( 0.0%)     
    oracle.xml.parser.v2     NSNameImpl     38 ( 0.1%)     760 ( 0.0%)     
    oracle.xml.parser.v2     NodeFactory     5 ( 0.0%)     20 ( 0.0%)     
    oracle.xml.parser.v2     NonValidatingParser     1 ( 0.0%)     116 ( 0.0%)     
    oracle.xml.parser.v2     ObjectPool     46 ( 0.1%)     552 ( 0.0%)     
    oracle.xml.parser.v2     ParserState     2 ( 0.0%)     72 ( 0.0%)     
    oracle.xml.parser.v2     PathExpr     53 ( 0.1%)     3,180 ( 0.0%)     
    oracle.xml.parser.v2     Predicate     1 ( 0.0%)     12 ( 0.0%)     
    oracle.xml.parser.v2     SAXAttrList     2 ( 0.0%)     72 ( 0.0%)     
    oracle.xml.parser.v2     Step     28 ( 0.1%)     1,904 ( 0.0%)     
    oracle.xml.parser.v2     StringHashtable     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.parser.v2     XMLAttr     230 ( 0.6%)     13,800 ( 0.2%)     
    oracle.xml.parser.v2     XMLAttrList     288 ( 0.7%)     3,456 ( 0.0%)     
    oracle.xml.parser.v2     XMLComment     44 ( 0.1%)     1,584 ( 0.0%)     
    oracle.xml.parser.v2     XMLDOMImplementation     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.parser.v2     XMLDeclPI     5 ( 0.0%)     260 ( 0.0%)     
    oracle.xml.parser.v2     XMLDocument     5 ( 0.0%)     500 ( 0.0%)     
    oracle.xml.parser.v2     XMLElement     308 ( 0.7%)     18,480 ( 0.2%)     
    oracle.xml.parser.v2     XMLEntity     6 ( 0.0%)     600 ( 0.0%)     
    oracle.xml.parser.v2     XMLError     6 ( 0.0%)     456 ( 0.0%)     
    oracle.xml.parser.v2     XMLNodeList     139 ( 0.3%)     1,668 ( 0.0%)     
    oracle.xml.parser.v2     XMLPI     1 ( 0.0%)     36 ( 0.0%)     
    oracle.xml.parser.v2     XMLReader     1 ( 0.0%)     92 ( 0.0%)     
    oracle.xml.parser.v2     XMLText     498 ( 1.2%)     17,928 ( 0.2%)     
    oracle.xml.parser.v2     XMLUTF8Reader     1 ( 0.0%)     108 ( 0.0%)     
    oracle.xml.parser.v2     XSLAttribute     5 ( 0.0%)     580 ( 0.0%)     
    oracle.xml.parser.v2     XSLCondition     5 ( 0.0%)     540 ( 0.0%)     
    oracle.xml.parser.v2     XSLExprValue     106 ( 0.3%)     4,664 ( 0.1%)     
    oracle.xml.parser.v2     XSLForEach     7 ( 0.0%)     756 ( 0.0%)     
    oracle.xml.parser.v2     XSLNode     2 ( 0.0%)     200 ( 0.0%)     
    oracle.xml.parser.v2     XSLNodeList     103 ( 0.2%)     1,236 ( 0.0%)     
    oracle.xml.parser.v2     XSLNodeSetExpr     2 ( 0.0%)     72 ( 0.0%)     
    oracle.xml.parser.v2     XSLOutput     1 ( 0.0%)     148 ( 0.0%)     
    oracle.xml.parser.v2     XSLResultElement     87 ( 0.2%)     10,092 ( 0.1%)     
    oracle.xml.parser.v2     XSLStylesheet     1 ( 0.0%)     172 ( 0.0%)     
    oracle.xml.parser.v2     XSLTemplate     3 ( 0.0%)     540 ( 0.0%)     
    oracle.xml.parser.v2     XSLValueOf     6 ( 0.0%)     648 ( 0.0%)     
    oracle.xml.parser.v2     XSLVariable     23 ( 0.1%)     2,852 ( 0.0%)     
    oracle.xml.xsql     XSQLConfigManager     1 ( 0.0%)     100 ( 0.0%)     
    oracle.xml.xsql     XSQLConnectionManagerFactoryImpl     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.xsql     XSQLLRUCache     2 ( 0.0%)     40 ( 0.0%)     
    oracle.xml.xsql     XSQLLRUCache$LRUNode     2 ( 0.0%)     40 ( 0.0%)     
    oracle.xml.xsql     XSQLNamedConnection     9 ( 0.0%)     180 ( 0.0%)     
    oracle.xml.xsql     XSQLPage     1 ( 0.0%)     12 ( 0.0%)     
    oracle.xml.xsql     XSQLPageManager     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.xsql     XSQLStylesheet     1 ( 0.0%)     20 ( 0.0%)     
    oracle.xml.xsql     XSQLStylesheetManager     1 ( 0.0%)     4 ( 0.0%)     
    oracle.xml.xsql     XSQLStylesheetPool     1 ( 0.0%)     52 ( 0.0%)

    Also, please note what exact version of Oracle XDK for Java you are using. You can find this out (if you're not sure) by doing:
      System.out.println(DOMParser.getReleaseVersion());

  • JE 4.0.103 available

    All,
    We'd like to let you know that JE 4.0.103 is now at http://www.oracle.com/technology/software/products/berkeley-db/je/index.html. The patch release contains both small features and bug fixes, many of which were prompted by feedback on this forum. Some items to note:
    - New CacheMode values for more control over cache policies, and new statistics to enable better interpretation of caching behavior. These are just one initial part of our continuing work in progress to make JE caching more efficient.
    - Fixes for proper cache utilization calculations when using the -XX:+UseCompressedOops JVM option.
    - A variety of other bug fixes.
    There is no file format or API changes. As always, we encourage users to move promptly to this new release.
    Regards,
    The JE team

    All,
    We'd like to let you know that JE 4.0.103 is now at http://www.oracle.com/technology/software/products/berkeley-db/je/index.html. The patch release contains both small features and bug fixes, many of which were prompted by feedback on this forum. Some items to note:
    - New CacheMode values for more control over cache policies, and new statistics to enable better interpretation of caching behavior. These are just one initial part of our continuing work in progress to make JE caching more efficient.
    - Fixes for proper cache utilization calculations when using the -XX:+UseCompressedOops JVM option.
    - A variety of other bug fixes.
    There is no file format or API changes. As always, we encourage users to move promptly to this new release.
    Regards,
    The JE team

  • Publish to .Mac grayed out

    I published an iWeb site, and then updated and published it again. I didn't see all of my changes, which likely was a left over cache issue. However, using the sledgehammer approach, I accessed my iDisk and deleted the published site's files and folders with the goal re-publishing the new files. Now in iWeb, the Publish button is grayed out (unavailable) as is File>Publish to .Mac. Granted, deleting the site the way I did from iDisk was probably wrong, but who knew? So I've rebooted, cleared cache, and even synced in an attempt to somehow re-anitimate (make available; ungray) the iWeb Publish button. I can and have published to a folder. Any ideas? Thanks.

    I think you need to change something slightly to turn the pages red so you can republish. iWeb doesn't know you deleted your site.

  • Memory/space-hogging apps on iPhone 4

    After my most recent sync/backup, I noticed that my iPhone is down to .33 GB of free space. This is quite surprising, as just a few days ago I had a full 3 GB free. A quick peek at the "Capacity" graph showed that my apps are taking up 9.7 GB of space, so the culprit must be in there. Is there any way to determine how much system resources an individual app is using? Clearly I need to empty out some trash, but I don't know where to start.
    Thanks!

    "Apps should have a setting to clear the cache or to limit cache size." Don't use iPhone apps much, do ya? ;^)
    Seriously, I have over 200 apps on my phone, and I can count the number of them that allow control over cache options on the fingers of one hand. But prompted by your pertinent suggestion, I cleared the caches on every app I've used in the last few days (the Capacity only spiked in the last couple days). Result: almost no change, a difference of about 200MB.
    Unless someone else has another idea, looks like I'm going to have to start deleting apps one at a time, starting with the most recently installed, to see what has a serious effect. I hope one of you very, very smart people has a simpler option.... anyway, thanks again.

  • Airport Extreme:  Eratic Bandwith

    Is there a way to tweak this router?  I primarily use this for file sharing in our LAN.  We transfer files with a size of at least 10G each.  Initially we would get speeds up to 900Mbps.  That is really awesome!  Then all of a sudden after few minutes it would drop to 100Mbps then bounce back.  Looks like it is running out of resources.  How do we proceed from here? Or we are better off with another router?

    2.  From iMac to PC
    You are therefore using SMB and it does have speed issues.. AFP is a faster protocol but not supported by the PC.. if you want faster transfer load up an FTP server in the PC.. eg filezilla and try FTP..
    For PC to Mac use robocopy.. again anything that avoids windows as much as possible.
    PC can have large file issues.
    3.  Wireless on but not being used.  I'm using cat6 ethernet cables (triplite brand)
    Wireless should be off in the computers.. the AE doesn't matter but you must not present two paths.
    4.  I have noticed that transferring smaller files such as 2G each you get  sustainable speed.  I was wondering using multi threaded file transfer tool would be able to do the job for larger files. Problem comes out only for large files
    This is kinda wrong way around.. small files should be slower than copying large files.. but heck if you think 2GB files are small how big are large??
    What is the format and type of the hard disk in the PC? If speed goes down when you go over cache size.. that is a fairly normal issue.. Test with SSD or a larger TCP window for the transfer.. Remember most TCP networking is optimised for internet.. not file transfer on local network. In the old days we would just use a different protocol like good old netbeui for local connections.. a low overhead protocol. FTP is much the same though.
    To do this testing correctly.. and discover where the problem is.. you really should copy.. Mac to Mac and PC to PC. Use different protocols..
    Test in both directions.. is it faster or slower??
    I have moved up to win8 on one local computer and its network is much better optimised.. I get better speed out of the same hardware cf windows 7.. of course vista is a dog and XP has a poorly written TCP stack.
    I prefer to avoid multi thread on local network.. but is the local network busy??
    The MTU for local transfer via jumbo packets is much better than internet but I am not sure the AE supports it.
    5.  There is a new router with dual core processor (Asus) coming shortly.  It claims it is able to address the bandwith drop that is being experience by single core processor routers.
    This is probably for WAN to LAN throughput.
    Inside the router there is a processor and a switch chip.. often wrapped up now in the same package.. but clearly two distinct parts. Transfer across LAN is not processor bound. The cheapest gigabit switch should do the same speed (or very close to) as the best managed switch or router. The local router processor should not see packets LAN to LAN.. at all.
    The test is easy.. btw.. Setup the Mac and PC with fixed static IP.
    eg set the Mac to 192.168.20.1 and 255.255.255.0 subnet mask.. and set the PC to 192.168.20.2 with the same subnet mask.. no gateway and no dns.
    Do a file transfer between them both plugged into the Extreme.
    Now plug the Mac straight into the PC.. gigabit is auto sensing so you don't need a cross over cable.. and do the same copy. They should run at the same speed or near to.

  • IE 8, Flash 11 erase LSO cookies from Firefox

    Running on  Windows XP. Since the latest Flash and Explorer combines clearing Temporary Files with Flash cookies, there is no way to prevent cookie deletion -- including those generated by other browsers. This is terrible for shared computers like this one. I do not have the option to create another admin identity. However, because a support person told another user to clear cache on IE (for security reasons), I lost all my Flash cookies (passwords, progress, etc.) on Firefox. No, I cannot get this other user to change browsers. Searching on the internet has found that even *with* administrative access, preventing deletion of Temporary Files is impossible.
    I will point out that:
    1. ordinary cookies are stored by each respective browser, and were not deleted
    2. there is no differentiation in IE menus between temporary files in Temp/Internet Files and the LSO flash cookies
    3. with my FF Better Privacy plug-in, I can turn off Firefox auto-erasure of LSOs... and still IE will delete them
    Caches need to be cleared a lot, and as long as there's no way for me to separate my LSOs from LSOs generated by a different browser and a different user, even with a password into both browsers, every single time Temporary Files are cleared in IE, I will lose my Flash progress on all sites on Firefox. It's also a huge privacy challenge; what's the point of using separate browsers if I can check the LSO folder and see exactly where the other user has visited, and vice versa?
    Any solution in Windows, or Firefox, or Explorer would be appreciated.

    I'd recommend using a third party cleaner (such as ccleaner) to allow finer grain control over cache and cookie management.

  • Some wierd folder just appear in my trash out of nothing?

    so today, when i was starting up my MBP, i noticed that the Trash icon was filled with 1 "recovered Files" folder, inside the folder contain another folder named plugtmp and inside is a file "or-iring-sony230x75.swf", it's a flash document
    what's weird is, my trash were empty all the time, i know it because i never leave anything on the trash, so basically, anything which goes to the trash can, i remove them permanently, but today this folder appear out of nowhere
    my question is, where does this files come from? why was it recovered? i dont remember doing anything that needs to be recovered, is it safe to just delete it?
    because before this folder appeared, all i did was just browsing through Firefox, and no, im sure it's not from firefox, and plus, i dont have any flash software either, so where it come from?
    anybody know the problem?
    thanks

    They are left over cache files created when you quit some applications. Nothing to concern your self with. Just empty the trash.

  • I changed my google account email address over a year ago, but Firefox continues to remember my old one, despite repeated cache/cookie clearing, forcing me to retype in my email everytime I need to log in. How do I get rid of that old email?

    I have a google account that I use mostly for the calendar. Occasionally I'm taken to the log in page (my time has expired, or someone else has logged in on my computer to their google account). On the log in page, the email address that Firefox remembers is an email address that I have not used in over a year (although it was the first email I used when I opened my google account). I have deleted that email address within google; I have cleared ALL my cookies and my entire cache numerous times and no matter -- the old email address is what Firefox remembers when I log in new.

    Edits:
    *could not access for the past three months
    *while the inter-apple messaging system

Maybe you are looking for